/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entitys;

/**
 * Class has field name and getter, setter. It can be used to give name to any
 * instanse of class.
 * @author Dmitri Paziy
 */
public class Named {
    private String name;

    public Named(String name) {
        this.name = name;
    }

    /**
     * Getter of name
     * @return Name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter of name
     * @param name New name
     */
    public void setName(String name) {
        this.name = name;
    }
}
